package com.myqf.d6_lambda_函数式接口_方法引用.monday.lambda.lambda演示.demo0初级_lambda演示;


import java.io.Serializable;

/**
 * 作者：黎杭
 * 日期：2020/2/17
 * <p>
 * 一个User对象类，表示所有人
 */

public class User implements Serializable {

    private String name;// 名字

    private Integer height;// 身高

    private Double weight;// 体重


    private Integer age;// 年龄

    private String sex;// 性别


    public User() {// 显示的写出无参构造
    }

    public User(String name, Integer height, Double weight, Integer age, String sex) {
        this.name = name;
        this.height = height;
        this.weight = weight;
        this.age = age;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
